import request from '@/utils/request'

// 获取公告通知列表
export function getNoticeList(notice) {
  return request({
    url: '/system/notice/list',
    method: 'get',
    params: notice
  })
}

export function getNoticeById(id) {
  return request({
    url: '/system/notice/'+id,
    method: 'get'
  })
}